package com.ruoyi.attached.domain;

import com.ruoyi.attachedData.domain.AttachedData;
import com.ruoyi.commission.domain.Commission;
import com.ruoyi.sample.domain.Sample;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 附对象 gc_attached
 *
 * @author ruoyi
 * @date 2025-05-08
 */
@ApiModel
public class Attached extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 委托单位id */
    @Excel(name = "委托单位id")
    @ApiModelProperty(value = "委托单位id")
    private Long enterpriseId;

    /** 工程id */
    @Excel(name = "工程id")
    @ApiModelProperty(value = "工程id")
    private Long engineeringId;

    /** 委托单id */
    @Excel(name = "委托单id")
    @ApiModelProperty(value = "委托单id")
    private Long commissionId;

    /** 附表名称 */
    @Excel(name = "附表名称")
    @ApiModelProperty(value = "附表名称")
    private String name;

    /** 文件内容 */
    @Excel(name = "文件内容")
    @ApiModelProperty(value = "文件内容")
    private String fileUrl;

    /** 业务类型 businessType */
    private String businessType;
    public void setBusinessType(String businessType)
    {
        this.businessType = businessType;
    }
    public String getBusinessType()
    {
        return businessType;
    }

    /** 土样 soil_sample */
    private String soilSample;
    public void setSoilSample(String soilSample)
    {
        this.soilSample = soilSample;
    }
    public String getSoilSample()
    {
        return soilSample;
    }

    /** 水样 waterSample */
    private String waterSample;
    public void setWaterSample(String waterSample)
    {
        this.waterSample = waterSample;
    }
    public String getWaterSample()
    {
        return waterSample;
    }

    /** 岩样 rockSample */
    private String rockSample;
    public void setRockSample(String rockSample)
    {
        this.rockSample = rockSample;
    }
    public String getRockSample()
    {
        return rockSample;
    }


    /** 土腐蚀 SoilCorrosion */
    private String soilCorrosion;
    public void setSoilCorrosion(String soilCorrosion)
    {
        this.soilCorrosion = soilCorrosion;
    }
    public String getSoilCorrosion()
    {
        return soilCorrosion;
    }


    private List<Sample> sampleList;
    public void setSampleList(List<Sample> sampleList)
    {
        this.sampleList = sampleList;
    }
    public List<Sample> getSampleList()
    {
        return sampleList;
    }


    private List<AttachedData> attachedDataList;
    public void setAttachedDataList(List<AttachedData> attachedDataList)
    {
        this.attachedDataList = attachedDataList;
    }
    public List<AttachedData> getAttachedDataList()
    {
        return attachedDataList;
    }

    /** 工程详情 */
    private Commission commissionOne;
    public void setCommissionOne(Commission commissionOne)
    {
        this.commissionOne = commissionOne;
    }
    public Commission getCommissionOne()
    {
        return commissionOne;
    }

    private Long type;
    public void setType(Long type)
    {
        this.type = type;
    }
    public Long getType()
    {
        return type;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEnterpriseId(Long enterpriseId)
    {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId()
    {
        return enterpriseId;
    }
    public void setEngineeringId(Long engineeringId)
    {
        this.engineeringId = engineeringId;
    }

    public Long getEngineeringId()
    {
        return engineeringId;
    }
    public void setCommissionId(Long commissionId)
    {
        this.commissionId = commissionId;
    }

    public Long getCommissionId()
    {
        return commissionId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setFileUrl(String fileUrl)
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl()
    {
        return fileUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("enterpriseId", getEnterpriseId())
            .append("engineeringId", getEngineeringId())
            .append("commissionId", getCommissionId())
            .append("name", getName())
            .append("fileUrl", getFileUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .toString();
    }
}
